﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Head.ascx.cs" Inherits="WLWeb.UC.Head" %>

<div id="top">
            <div id="logo">
                <a href="../Common/Index.aspx">
                    <img src="../Images/logo.jpg"></a></div>
            <div id="top_ex">
                <ul>
                    <li><a href="../Common/Index.aspx">返回首页</a></li>
                    <li><a href="../Common/About.aspx">联系我们</a></li>
                    <li><a href="javascript:void(null);" onclick="javascript:window.external.addFavorite('http://www.baidu.com/','旺龙软件工作室')">
                        加入收藏</a></li>
                </ul>
            </div>
        </div>
        <div id="menu">
            <ul><input type="hidden" id="hidnum" runat="server" value="1" />
                <li id="li1" runat="server"><a href="../Common/Index.aspx">网站首页</a></li>
                <li id="li2" runat="server"><a href="../Common/CreateTaoCan.aspx">建站套餐</a></li>
                <li id="li3" runat="server" ><a href="../Common/Case.aspx">客户案例</a>
                    <!--<ul>
                        <li><a href="../Common/Case.aspx?ASCID=1&amp;AID=6">商城案例</a></li>
                        <li><a href="../Common/Case.aspx?ASCID=1&amp;AID=17">外贸案例</a></li>
                        <li><a href="../Common/Case.aspx?ASCID=1&amp;AID=2">电子数码</a></li>
                    </ul>-->
                </li>
                <li id="li4" runat="server"><a href="../Common/QianYue.aspx">最新签约</a></li>
                <li id="li5" runat="server"><a href="../Common/Service.aspx">产品服务</a></li>
                <li id="li6" runat="server"><a href="../Common/Solution.aspx">解决方案</a></li>
                <li id="li7" runat="server"><a href="../Common/News.aspx">新闻动态</a></li>
                <li id="li8" runat="server"><a href="../Common/Support.aspx">技术支持</a></li>
                <li id="li9" runat="server"><a href="../Common/JianZhan.aspx">我要建站</a></li>
                <li id="li10" runat="server"><a href="../Common/About.aspx">关于我们</a></li>
            </ul>
        </div>
        <div id="banner">
            <%--<script type="text/javascript">writeflashhtml("_swf=flash/banner.swf", "_width=1000", "_height=259", "_wmode=transparent");</script>--%>
            <%--<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0"
                align="middle" width="1000" height="259">
                <param name="movie" value="../flash/banner.swf" />
                <param name="quality" value="high" />
                <param name="menu" value="false" />
                <param name="wmode" value="transparent" />
                <embed pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
                    src="../flash/banner.swf" quality="high" menu="false" wmode="transparent" align="middle"
                    width="1000" height="259" />
            </object>--%>
            <img src="../Images/IT.jpg" width="1000" height="259" />
        </div>

<script type="text/javascript">
    var i = document.getElementById("<%=hidnum.ClientID %>").value;             //此获得隐藏控件值
    var ivalue = document.getElementById("<%=hidnum.ClientID %>").id;           //控件ID
    var liVal = ivalue.substring(0, ivalue.length - 6);                         //截取ID的字符串
    $(window).ready(function () {
        for (var j = 1; j <= 10; j++) {
            if (j != parseInt(i)) {
                document.getElementById(liVal+"li" + j).className = "";
            }
            else {
                document.getElementById(liVal + "li" + j).className = "yes";
            }
        }
        
    });
    </script>
    